/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * MainFrame.java
 *
 * Created on Oct 20, 2010, 9:05:28 PM
 */
package edu.nus.iss.t5.jass;

import edu.nus.iss.t5.jass.view.JobSearchAdvertisementFrame;
import java.awt.Toolkit;

/**
 *
 * @author Fenglei
 */
public class mainapp {

    public mainapp() {
    }

    /**
     * @param args the command line arguments
     */
    public static void main(String args[]) {
        java.awt.EventQueue.invokeLater(new Runnable() {

            public void run() {
               JobSearchAdvertisementFrame jobSearchAdvertisementFrame = new JobSearchAdvertisementFrame();

                Toolkit tk = Toolkit.getDefaultToolkit();
                int xSize = ((int) tk.getScreenSize().getWidth());
                int ySize = ((int) tk.getScreenSize().getHeight());
                jobSearchAdvertisementFrame.setSize(xSize, ySize);
                jobSearchAdvertisementFrame.setTitle("Job Advertisement");

                jobSearchAdvertisementFrame.setVisible(true);

            }
        });
    }
}
